<%@ page language="java" contentType="text/html; charset=UTF-8"%>
<%@include file="/common/common.jsp" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	<script type='text/javascript' src='${pageContext.request.contextPath}/js/public.js'></script>
		<title>xx</title>
		<STYLE type="text/css" > 
		.np { font-family: Webdings; font-size:18px; color:black; }
	A:link { COLOR: #000000; FONT-SIZE: 12px; TEXT-DECORATION: none}
	A:visited { COLOR: #000000; FONT-SIZE: 12px; TEXT-DECORATION: none}
	A:hover { COLOR: #cc0000; FONT-SIZE: 12px; TEXT-DECORATION: none}
	BODY {
	FONT-SIZE: 12px;
	margin-left: 0px;
	margin-top: 0px;
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;	
}
	TD { FONT-SIZE: 12px; line-height: 150%}
		.STYLE1 {color: #FFFFFF}
        </STYLE>
	</head>

	<body bgcolor="#ccddee" link="#000066" vlink="#0066FF" alink="#99FF00">
		<center>
			<s:form method="post" action="goAddApplydeptdetail" validate="true" theme="simple">
				<tr>
						<td width="15%" align="right">
							<s:submit value="增加报领卡种类" theme="simple" />
						</td>
						<td>
							<s:hidden name="applydeptdetail.applydept.applyno" value=${applyno}></s:hidden>
						</td>
				</tr>
			</s:form>
			<table width="100%" border=1 align="center" cellpadding="0" cellspacing="0" bgcolor="#ccddee" >
				<tr>
			        <td align="center">删除</td>
			        <td align="center">编号</td>
			        <td align="center">卡类型</td>
			        <td align="center">数量</td>
			        <td align="center">金额</td>
			        <td align="center">操作</td>
      			</tr>
      			<s:iterator value="pm.datas" status="rowstatus" var="applydeptdetail">
      				<tr <s:if test="#rowstatus.odd == true">bgcolor="white"</s:if>>
	      				<td align="center" >
	      					<input type="checkbox" name="appdetailno" value="<s:property value="appdetailno"/>"
	      							 onclick="javascript:location.href='delApplydeptdetail.action?appdetailno=<s:property value="appdetailno"/>'"/>
	      				</td>
				        <td align="center">
				        	<s:property value="appdetailno"/>
				        </td>
				        <td align="center">
				        	<s:property value="#applydept.cardsubtype.cardsubtypeno"/>
				        </td>
				        <td align="center">
				        	<s:property value="totalsum"/>
				        </td>
				        <td align="center">
				        	<s:property value="money"/>
				        </td>
			        	<td align="center">
			        		<a href="getApplydeptdetailForUpdate.action?appdetailno=<s:property value="appdetailno"/>">修改</a>
			        	</td>
			        </tr>
				</s:iterator>
				<tr>
					<td colspan="8" align="center">
				<pg:pager url="${url}" items="${pm.total }" export="offset,currentPageNumber=pageNumber">
					<pg:first>
						<a href="${pageUrl }">首页</a>
					</pg:first>
					<pg:prev>
						<a href="${pageUrl }">前页</a>
					</pg:prev>
					<pg:pages>
						<c:choose>
							<c:when test="${currentPageNumber eq pageNumber}">
								<font color="red">${pageNumber }</font>
							</c:when>
							<c:otherwise>
								<a href="${pageUrl }">${pageNumber }</a>
							</c:otherwise>
						</c:choose>
					</pg:pages>
					<pg:next>
						<a href="${pageUrl }">后页</a>
					</pg:next>
					<pg:last>
						<a href="${pageUrl }">尾页</a>
					</pg:last>
				</pg:pager>
					</td>
				</tr>
      		</table>
		</center>

	</body>
</html>
